export default {
    state: {
        sarr: [10, 20, 30, 40]
    },
    actions: {
        sarrpush(newState: { sarr: number[] }, actions: { type: string, val: number }) {
            newState.sarr.push(actions.val)
        }
    },
    // 名字统一管理
    sarrpush: "sarrpush"
}